package com.heima.movement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.models.common.Result;
import com.heima.models.movement.pojos.Likes;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 黑马程序员
 * @since 2023-07-04
 */
public interface LikesService extends IService<Likes> {
    /**
     *
     * @param targetId
     * @param type 1动态, 2评论
     * @return
     */
    Result like(String targetId, Integer type);
}
